package com.ssh.model;

import java.sql.Timestamp;

/**
 * Goods entity. @author MyEclipse Persistence Tools
 */

public class Goods implements java.io.Serializable {

	// Fields

	private Integer goodId;
	private User user;
	private Goodstype goodstype;
	private Timestamp goodTime;
	private String goodDesc;

	// Constructors

	/** default constructor */
	public Goods() {
	}

	/** full constructor */
	public Goods(User user, Goodstype goodstype, Timestamp goodTime,
			String goodDesc) {
		this.user = user;
		this.goodstype = goodstype;
		this.goodTime = goodTime;
		this.goodDesc = goodDesc;
	}

	// Property accessors

	public Integer getGoodId() {
		return this.goodId;
	}

	public void setGoodId(Integer goodId) {
		this.goodId = goodId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Goodstype getGoodstype() {
		return this.goodstype;
	}

	public void setGoodstype(Goodstype goodstype) {
		this.goodstype = goodstype;
	}

	public Timestamp getGoodTime() {
		return this.goodTime;
	}

	public void setGoodTime(Timestamp goodTime) {
		this.goodTime = goodTime;
	}

	public String getGoodDesc() {
		return this.goodDesc;
	}

	public void setGoodDesc(String goodDesc) {
		this.goodDesc = goodDesc;
	}

}